package com.wwj.auction.login.client;

import com.wwj.auction.common.result.R;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 短信服务远程接口
 */
@FeignClient("service-sms")
public interface SmsClient {

    @GetMapping("/sms/send/{phone}")
    R send(
            @ApiParam(value = "手机号", required = true)
            @PathVariable String phone);
}
